FROM golang:1.17

WORKDIR /go/src/app
COPY . .

ENV GOPROXY=https://goproxy.cn,direct
RUN go get -d -v ./...

EXPOSE 8080

CMD go run .